<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header  class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content >
        <router-view/>
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="www.baidu.com" target="_blank">
          @wym
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script>

import { defineComponent } from 'vue'
import GlobalHeader from '@/components/GlobalHeader.vue'

export default defineComponent({
  components: { GlobalHeader }
})
</script>

<style scoped>
#basicLayout .header{
  padding-inline: 20px;
  background: white;
  color: unset;
  margin-bottom: 16px;
}
#basicLayout .content{
  padding: 20px;
  background: #efefef;
  margin-bottom: 28px;
}
#basicLayout .footer {
  padding: 16px;
  background: linear-gradient(to right, #fefefe, #fff);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

</style>
